package com.xiaozhu.service;

import com.xiaozhu.pojo.DTO.UserDto;
import com.xiaozhu.pojo.Entity.User;
import com.xiaozhu.pojo.VO.UserVo;

import java.util.List;

/**
 *@author 朱慧军
 *@version 1.0
 */

public interface LoginService {
//
    User login(UserDto userDto);

    void add(UserDto userDto);

    List<User> userList();

    void addAdmin(Long userId);

    void delete(List<Long> ids);

    UserVo info(Long userId);
}
